package com.jinglu.cloud.common.exception;

public final class Preconditions {

    private Preconditions() {
    }

    public static void checkArgument(boolean expression, GenericException exception) {
        if (!expression) {
            throw exception;
        }
    }
}
